package com.hq.service;

import com.hq.bean.MingXi;
import com.hq.bean.PinPai;
import com.hq.bean.User;
import com.hq.dao.PingPaiDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class PinPaiServiceImpl implements PinPaiService {
    @Resource
    private PingPaiDao pingPaiDao;
    @Override
    public List list(Map map) {
        return pingPaiDao.list(map);
    }

    @Override
    public int add(PinPai pinPai) {
        return pingPaiDao.add(pinPai);
    }

    @Override
    public User login(User user) {
        return pingPaiDao.login(user);
    }

    @Override
    public List list1(Map map) {
        return pingPaiDao.list1(map);
    }

    @Override
    public int addd(MingXi mingXi) {
        return pingPaiDao.addd(mingXi);
    }

    @Override
    public int del(Integer mid) {
        return pingPaiDao.del(mid);
    }

    @Override
    public List list2(Map map) {
        return pingPaiDao.list2(map);
    }

    @Override
    public List list3(Map map) {
        return pingPaiDao.list3(map);
    }

    @Override
    public List list4(Map map) {
        return pingPaiDao.list4(map);
    }
}
